package com.cloudwise.entity;

import com.cloudwise.annotation.MyAnnotation;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2021/9/13 11:29
 * @description：人类
 * @modified By：
 * @version: 1.0
 */
@MyAnnotation(name = "zhangsan", age = 200)
public class Person {
    private  int id;
    private  String name;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void show(){
        System.out.println("我是"+name);
    }

    public Person(int id, String name) {
        this.id = id;
        this.name = name;
    }

    public Person() {
    }
}
